package com.carrie.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author XuHaiLong
 * @since 2025/4/13 22:08
 */
@Data
@TableName("users")
public class Users implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    // 与数据库直接映射的字段
    private String username;
    private String password;
    private Boolean enabled;
}